home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_jr
/
norm
< prev
next >
Wrap
Text File
|
1994-12-28
|
915b
|
37 lines
norm:
Synopsis: Compute the norm of a matrix or vector.
Syntax: norm ( A )
norm ( A , "type" )
norm ( A, P )
Description:
The first form defaults to computing the 1-norm of the input
matrix. The second and third forms allow the user to specify
the desired vector or matrix norm.
type:
"M" or "m" returns max(abs( MATRIX ))
"1", "O" or "o" return the 1-norm (default)
"2" returns the matrix 2-norm (largest singular value)
"I" or "i" returns the infinity-norm
"F", "f", "E" or "e" returns the Frobenius norm.
LAPACK subroutines DLANGE and ZLANGE are used to compute all
norms, except the 2-norm.
If the third form of the function is used, then norm attempts
to compute the vector p-norm. If A is not a row or column
vector, then an error occurs.
Obscure feature: If P is Inf (the output from inf(), for
example), then norm will compute the Infinity norm of the
vector _or_ matrix A.